<?xml version="1.0" encoding="ISO-8859-1" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>Sign up form</title>
</head>

<body>

	<form name="signUp" method="post" action="SignUp">
		<fieldset>
		<legend>Sign up</legend>
			<label for="login">Login</label><br/>
			<input type="text" name="login" id="login" size="10"/><br/>
			
			<label for="password">Password</label><br/>
			<input type="password" name="password" id="password" maxlength="8"/><br/>
			
			<label for="description">Description</label><br/>
			<textarea name="description" id="description"></textarea><br/>
			
			<label for="country">Country</label><br/>
			<select name="country" id="country">
				<option value="43">The shire</option>
				<option value="45">Rohan</option>
				<option value="666" selected="selected">Mordor</option>
				<option value="-4">Rivendel</option>
			</select><br/>
			
			<label for="weapons">Weapons</label><br/>
			<select name="weapons" id="weapons" multiple="multiple" size="10">
				<optgroup label="Hand">
					<option value="56">Sword</option>
					<option value="77">Axe</option>
					<option value="2">Hammer</option>
					<option value="68">Staff</option>
					<option value="67">Knife</option>
					<option value="69">Dagger</option>
				</optgroup>
				<optgroup label="Throwable">
					<option value="11">Spear</option>
					<option value="70">Crossbow</option>				
					<option value="4">Bow</option>
				</optgroup>
			</select><br/>
			
			<label for="sex">Sex</label><br/>
			<input type="radio" name="sex" id="male" value="0"/>
			<label for="male">Male</label><br/>
			<input type="radio" name="sex" id="female" value="1"/>
			<label for="female">Female</label><br/>
			<input type="radio" name="sex" id="unknown" value="3"/>
			<label for="unknown">Unknown</label><br/>
			
			<label for="artifacts">Artifacts</label><br/>
			<input type="checkbox" name="artifacts" id="iphone" value="0"/>
			<label for="iphone">iPhone</label><br/>
			<input type="checkbox" name="artifacts" id="ipad" value="1"/>
			<label for="ipad">iPad</label><br/>
			<input type="checkbox" name="artifacts" id="ipod" value="2"/>
			<label for="ipod">iPod</label><br/>

			<!-- Hidden field -->
			<input type="hidden" name="secret" id="secret" value="666"/>
			
			<label for="picture">Picture</label><br/>
			<input type="file" name="picture" id="picture"/><br/>
			
			<input type="image" name="imagebutton" id="imagebutton" src="button.jpg"/><br/>
			
			<input type="button" name="doSomething" id="doSomething" value="Boton inutil"/><br/>
			<input type="reset" name="reset" id="reset" value="Reset"/><br/>
			<input type="submit" name="send" id="send" value="Sign up!"/>
		</fieldset>		
	</form>

</body>
</html>